SimplePay\Core\PaymentForm\PriceOptions A

Total Complexity 60
Dependencies 3
Dependents 1
Total lines 624
Lines of code 333
Logical lines of code 136
Comment lines 191
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
sync_alt_mode_prices()
A
40 9 73
copy_alt_mode_prices()
A
45 7 47
get_prices()
S
52 6 27
get_product_args()
S
52 6 24
sync()
S
54 4 23
get_current_mode_product_id()
S
54 3 24
is_current_mode_latest()
S
58 3 19
get_price_args_to_copy()
S
59 3 15
can_sync()
S
59 2 17
get_alt_mode_prices()
S
64 2 11
get_current_mode_prices()
S
64 2 11
get_alt_mode_prices_modified_storage_key()
S
74 2 5
get_alt_mode_prices_storage_key()
S
74 2 5
get_current_mode_prices_modified_storage_key()
S
74 2 5
get_current_mode_product_storage_key()
S
74 2 5
get_current_mode_prices_storage_key()
S
74 2 5
get_alt_mode_api_request_args()
S
70 1 7
get_current_mode_api_request_args()
S
71 1 7
__construct()
S
81 1 3